<template>
  <exception-page  :style="`min-height: ${minHeight}`" type="900" :message="message" />
</template>

<script>
import ExceptionPage from '@/components/exception/ExceptionPage'
import {mapState} from 'vuex'
export default {
  name: 'loginError',
  components: {ExceptionPage},
  computed: {
    ...mapState('setting', ['pageMinHeight']),
    minHeight() {
      return this.pageMinHeight ? this.pageMinHeight + 'px' : '100vh'
    }
  },
  data() {
	return {
        message:null
    }
  },
  created () {
    if(this.$route.query){
        const message = this.$route.query.message
        if (message) {
            this.message =message
        }
    }
  },
}
</script>

<style scoped lang="less">
</style>
